'''
Author: xialang333@gmail.com
Date: 2025-08-04 14:32:28
LastEditTime: 2025-08-04 16:47:35
'''
from pydantic_settings import BaseSettings

class Settings(BaseSettings):
    database_url: str = "sqlite:///./exporters.db"
    title: str = "Exporter Manager"
    description: str = "FastAPI application to manage Prometheus exporters"
    version: str = "1.0.0"
    server_host: str = "0.0.0.0"
    server_port: int = 38000
    debug: bool = False
    log_file: str = "logs/server.log"

    
    class Config:
        env_file = ".env"

settings = Settings()